package com.fengjian.weixin.message.event;

/**
 * 事件基类
 * Created by fengjian on 14/11/28.
 */
public class BaseEvent {

    // 开发者微信号
    private String toUserName;

    // 发送方账号（一个OpenID）
    private String fromUserName;

    // 消息创建时间
    private long createTime;

    // 消息类型
    private String megType;

    // 事件类型
    private String event;

    public String getToUserName() {
        return toUserName;
    }

    public void setToUserName(String toUserName) {
        this.toUserName = toUserName;
    }

    public String getFromUserName() {
        return fromUserName;
    }

    public void setFromUserName(String fromUserName) {
        this.fromUserName = fromUserName;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getMegType() {
        return megType;
    }

    public void setMegType(String megType) {
        this.megType = megType;
    }

    public String getEvent() {
        return event;
    }

    public void setEvent(String event) {
        this.event = event;
    }
}
